<template>
  <ChannelNav :channelId="channelId" @changeChannel="channelId=$event"></ChannelNav>
  <ArticleList :channelId="channelId"></ArticleList>
</template>

<script setup lang="ts">
import {ref} from 'vue'
import axios from 'axios'
import ChannelNav from './components/ChannelNav.vue'
import ArticleList from './components/ArticleList.vue'

const channelId =ref(0)



</script>

<style lang="scss" scoped></style>
